/**
 * StoreAdaptor - Base class for Store Adaptors
 *
 * The idea behind this family of classes is to adapt a store to something more UPNP
 * Specific.
 *
 *
 * @author Scot McSweeney-Roberts
 * @version 0.1
 * 
 *
 */

package uk.co.sheitgeist.fums.server.upnp.adaptors

import uk.co.sheitgeist.fums.server.content.store.*
import com.cidero.upnp.*

public class StoreAdaptor {

	/**
	 * Store adaptor factory
	 *
	 * @param storeContext the store's context
	 * @param store the store to adapt
	 * @return		the adaptor for the given store
	 *
	 */
	public static StoreAdaptor getAdaptor(String storeContext, Store store) {
		//to get things going, just return a FS adaptor
		return new FileSystemStoreAdaptor(storeContext, store);
	}
	
	public CDSObject toCDSObject() {}
	
	/**
	 * getDirectChildren
	 * get a CDSObjectList of the direct children of an object
	 *
	 * @param objectId the object id whose children to return
	 * @return the CDSObjectList of children
	 *
	 */
	public CDSObjectList getDirectChildren(String objectId) {}

}
